home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / snip0493.zip / MOUSE.H < prev    next >
C/C++ Source or Header  |  1993-04-05  |  1KB  |  39 lines

  1. /*      module:         mouse.h
  2.  *      programmer:     Ray L. McVay
  3.  *      started:        26oct86
  4.  *      updated:        26oct86
  5.  *
  6.  *      Some handy mouse interface functions.
  7.  */
  8.  
  9. #ifdef __TURBOC__
  10.  #define FAR far
  11. #else
  12.  #define FAR _far
  13. #endif
  14.  
  15. #define MSMOUSE 0x33
  16.  
  17. extern int mouse_present;
  18.  
  19. int  ms_reset(int *);
  20. void ms_show_cursor(void);
  21. void ms_hide_cursor(void);
  22. int  ms_get_mouse_pos(int *, int *);
  23. void ms_set_mouse_pos(int, int);
  24. int  ms_button_press_status(int, int *, int *, int *);
  25. int  ms_button_release_status(int, int *, int *, int *);
  26. void ms_restrict_horiz(int, int);
  27. void ms_restrict_horiz(int, int);
  28. void ms_define_window(int, int, int, int);
  29. void ms_set_graphics_cursor(int, int, unsigned, unsigned);
  30. void ms_set_text_cursor(int, int, int);
  31. void ms_read_motion_counters(int *, int *);
  32. void ms_set_event_subroutine(int, unsigned, unsigned);
  33. void ms_light_pen_on(void);
  34. void ms_light_pen_off(void);
  35. void ms_set_sensitivity(int, int);
  36. void ms_protect_area(int, int, int, int);
  37. int  ms_set_large_graphics_cursor(int, int, int, int, unsigned, unsigned);
  38. void ms_set_doublespeed_threshold(int);
  39.